﻿<!doctype html>
<html>
<head>

<meta charset="utf-8">
<title>新闻资讯</title>
<link href="css/base.css" rel="stylesheet" type="text/css">
<link href="css/left.css" rel="stylesheet" type="text/css">
<link href="css/news.css" rel="stylesheet" type="text/css">
</head>
<script type="text/javascript" src="js/jquery-1.3.2.js"></script>
<script type="text/javascript">
$(function(){
	$(".subNav").click(function(){
		$(this).toggleClass("currentDd").siblings(".subNav").removeClass("currentDd");

		$(this).toggleClass("currentDt").siblings(".subNav").removeClass("currentDt");
		$(this).next(".navContent").slideToggle(300).siblings(".navContent").slideUp(500);
	})	
})
</script>

<body>
<div class="bj">
<div class="top">
     <div class="logo"> <img src="images/logo.png" width="225" height="97"></div>
     <div class="shousuo"> <p class="wenzi">热搜 轮胎 车轮 轮轴</p><li>

     <form  name='搜索' action="sousuo.php" method="post">

     <input name="搜索" class="jj" type="text"> 

     <input type="submit" class="yy" value="搜索">

  </form></li>  </div>
  <div class="lianxi">

    <ul>
    <li class="font_12px">欢迎访问元通轮胎有限公司网站</li>
    <li class="tupian"><img src="images/top_ren.png" width="89" height="78"></li>
     <li  class="font_20px">020 38812035
186xxxxxxxx</li>  </ul>
    </div>  
  </div>
  
<div class="nav">
<ul>
<li><a href="index.php">首页</a></li>
<p> <img src="images/nav_zhongjian.png" width="3" height="50"></p>
<li ><a href="aboutyuantong.php">走进元通</a></li>
<p> <img src="images/nav_zhongjian.png" width="3" height="50"></p>
<li><a href="productdisplay.php">产品展示</a></li>
<p> <img src="images/nav_zhongjian.png" width="3" height="50"></p>
<li class="dianji"><a href="news.php">新闻资讯</a></li>
<p> <img src="images/nav_zhongjian.png" width="3" height="50"></p>
<li><a href="marketing.php">客户服务</a></li>
<p> <img src="images/nav_zhongjian.png" width="3" height="50"></p>
<li><a href="talent.php">人力资源</a></li>
<p> <img src="images/nav_zhongjian.png" width="3" height="50"></p>
<li><a href="method.php">联系我们</a></li>
</ul>

</div>

 </div>

<div class="container">


<!--内容-->


<div class="content">
  <div class="content_top"><img src="images/new1.jpg" width="1125" height="238"></div>
  
  <div class="weizhi">
  <li> 首页&nbsp;>&nbsp;</li><li> 新闻资讯&nbsp;>&nbsp;</li><li class="aa">公司新闻</li>
  </div>
  
<div class="left">
  <div class="subNavBox">
	<div class="subNav yuxuan">公司新闻</div>
    <ul class="navContent" >
		<li class="a1"><a href="#" >新闻</a></li>
		<li><a href="#">公司新闻</a></li>
		<li><a href="#">公司新闻</a></li>
		<li><a href="#">公司新闻</a></li>
	</ul>
    
	<div class="subNav">行业新闻</div>	
    <ul class="navContent" >
		<li class="a1"><a href="#" >新闻1</a></li>
		<li><a href="#">新闻1</a></li>
		<li><a href="#">新闻2</a></li>
		<li><a href="#">新闻3</a></li>
	</ul>
	
  </div>

<div class="right ">
<p class="gsxw">公司新闻</p> 
 <?php   
include_once "config.php";  
 
$sql = "SELECT * FROM  news";
$result = $conn->query($sql);

$arrlist = array();

if ($result->num_rows > 0) {  
    // 输出每行数据
    while($row = $result->fetch_assoc()) {
        array_push($arrlist, $row);        
    }
}          
           ?>  
<?php
foreach ($arrlist as $vo){
?>  
<a href="news_details.php"><div class="new"><B><</B>&nbsp;&nbsp;<?php  echo $vo['title']; ?><p class="new2"><?php echo date($vo['time']); ?></p></div></a>

<?php  }   ?>  
<!--新闻下面-->
        <!--右下-->
      	<div class="right_footer">
   			<a href="#"><span>首页</span></a>
            <a href="#"><span class="righr_f_number">1</span></a>
            <a href="#"><span class="righr_f_number">2</span></a>
            <a href="#"><span class="righr_f_number">3</span></a>
            <a href="#"><span>尾页</span></a>
            <form action="" method="get">
            	跳转到 <input class="righr_f_number1" name="" type="text" value="   1"> 页
            </form>
        
        </div>
        <!--右下-->
</div>
</div>
</div>

</div>




<div class="footer ">
 <ul>
 <li>Copyright © 2012-2015 Seyoun.cn Inc. All Rights Reserved. 三元轮胎 版权所有 苏ICP备10218496号	
</li>
 <li>网站地图 | 联系方式 | 顶部</li>
 </ul>
</div>
</body>
</html>
